Import ('env')
 
alias = ['aso']
deps = ['aso-core', 'mili', 'fx-parser']

name = 'aso-gui'
inc = [env.Dir('inc'), env.Dir('.')]

src = ['src/aso_main.cpp', 
       'src/aso_middle_layer.cpp', 
       'src/asowindow.cpp', 
       'src/parameters_widget.cpp', 
       'src/sequenceviewer.cpp']

env.CreateObject('gui_params', inc, env.File('src/gui_params.cpp'), deps)
deps = list(deps) + ['gui_params']

qt_deps = ['QtCore', 'QtGui']

CXXFLAGS = ['-Wno-long-long']
env.Append(CXXFLAGS=CXXFLAGS, CFLAGS=CXXFLAGS)
env.CreateProgram(name, inc, src, deps + qt_deps, alias)

name = 'aso-tui'
inc = env.Dir('.')
src = [env.File('main.cpp')]
env.CreateProgram('aso-tui', inc, src, deps, alias)
